package com.lxmes.gs.mapper;

import java.util.List;
import com.lxmes.gs.domain.WorkingHoursSubmission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 工时提报Mapper接口
 * 
 * @author wdf
 * @date 2023-04-24
 */
public interface WorkingHoursSubmissionMapper extends BaseMapper<WorkingHoursSubmission>{
    /**
     * 查询工时提报
     * 
     * @param id 工时提报主键
     * @return 工时提报
     */
    public WorkingHoursSubmission selectWorkingHoursSubmissionById(Long id);

    /**
     * 查询工时提报列表
     * 
     * @param workingHoursSubmission 工时提报
     * @return 工时提报集合
     */
    public List<WorkingHoursSubmission> selectWorkingHoursSubmissionList(WorkingHoursSubmission workingHoursSubmission);

    /**
     * 新增工时提报
     * 
     * @param workingHoursSubmission 工时提报
     * @return 结果
     */
    public int insertWorkingHoursSubmission(WorkingHoursSubmission workingHoursSubmission);

    /**
     * 修改工时提报
     * 
     * @param workingHoursSubmission 工时提报
     * @return 结果
     */
    public int updateWorkingHoursSubmission(WorkingHoursSubmission workingHoursSubmission);

    /**
     * 删除工时提报
     * 
     * @param id 工时提报主键
     * @return 结果
     */
    public int deleteWorkingHoursSubmissionById(Long id);

    /**
     * 批量删除工时提报
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkingHoursSubmissionByIds(Long[] ids);

    /**
     * 通过工时提报主键获取${subTable.functionName}信息
     *
     * @param id 工时提报ID
     * @return 结果
     */
    public  List<WorkingHoursSubmission> selectWorkingHoursSubmissionByIds(Long[] ids);

}
